import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'

Vue.use(Vuex)
const getters = {
  token: state => state.user.user.token
}
const store = new Vuex.Store({
  getters,
  modules: {
    user

  }
})
export default store
